<template>
	<view>
		<view class="goods-list">
			<block v-for="(goods, i) in goodsList" :key="i">
				<my-goods :goods="goods"></my-goods>
			</block>
		</view>
	</view>
</template>

<script>
	export default {
		name:"goods-list",
		data() {
			return {
				goodsList: [
					{
						"goods_name": "测试商品的名字1",
						"goods_simple_introduce": "第一个对应商品的简介1",
						"goods_small_logo": 'https://s3.bmp.ovh/imgs/2022/03/26a08587f0f1599c.png',
						"goods_price" : 1.5,
					},
					{
						"goods_name": "测试商品的名字2",
						"goods_simple_introduce": "二对应商品的简介",
						"goods_small_logo": 'https://s3.bmp.ovh/imgs/2022/03/69cffd8df70ff767.png',
						"goods_price" : 1.5,
						
					},
					{
						"goods_name": "3333测试商品的名字",
						"goods_simple_introduce": "第三个对应商品的简介",
						"goods_small_logo": 'https://s3.bmp.ovh/imgs/2022/03/26a08587f0f1599c.png',
						"goods_price" : 1.5,
					}
				]
			};
		}
		// ,
		// onLoad() {
		// 	this.getGoodsList
		// },
		// methods: {
			
		// }
	}
</script>

<style lang="scss">

</style>
